/*
 * Thread.hpp
 *
 *  Created on: Jan 8, 2015
 *      Author: toti
 */

#ifndef THREAD_HPP_
#define THREAD_HPP_

#include <pthread.h>

#include <Threads/Runnable.hpp>

class Thread{

private:



	pthread_t thread;

	static void *startThread(void *thread);

public:

	Runnable *runnable;

	Thread(Runnable *runnable);

	void start();
	void join();

};



#endif /* THREAD_HPP_ */
